var express = require('express');
const codeModel = require('../model/codeModel');
const loginModel = require('../model/loginModel');
const registerModel = require('../model/registerModel');
var router = express.Router();

//用户中间件

//注册
router.post('/register',registerModel());
router.post('/login',loginModel());//登录
router.get('/code',codeModel());//验证码


module.exports = router;
